import React from 'react';
import ReactDOM from 'react-dom';

import App from './App'

import {store} from './redux/store';
console.log(store,store.getState());

const render=()=>{
    ReactDOM.render(<App store={store}/>,document.querySelector('#root'));
}

render();

store.subscribe(render);